using System.ComponentModel.DataAnnotations.Schema;

namespace CoreManager.Models.Entities
{
    /// <summary>
    /// 用户角色关联实体
    /// </summary>
    [Table("sys_user_role")]
    public class UserRole : BaseEntity
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [Column("user_id")]
        public int UserId { get; set; }

        /// <summary>
        /// 角色ID
        /// </summary>
        [Column("role_id")]
        public int RoleId { get; set; }
    }
}